<template>
    <button class="border-2 border-black" @click="getData">请求数据</button>
    <div class="text-2xl">
        哈哈
    </div>
    <iconify-mdi-account />
</template>

<script setup>
import { TestControllerService } from '@/api/services/TestControllerService'

let store = useStore()

onMounted(() => {
    console.log('缓存中的Token:' + store.token)
})

const getData = async () => {
    console.log("aa");
    const res = await TestControllerService.testUsingGet()
    console.log(res)
}
</script>

<style scoped></style>
